package com.example.shiro.service.inter;

import com.example.shiro.entity.ShiroPermsInfo;
import com.example.shiro.service.base.BaseService;

import java.util.List;

/**
 * @Author: lex
 * @Date: 2018/10/14
 */
public interface ShiroPermsInfoService extends BaseService<ShiroPermsInfo> {

    /**
     * 获取用户对应的权力
     * @param id
     * @return
     */
    List<ShiroPermsInfo> selectByUserId(Long userId);
}
